package org.lisa.crm.dao;

import org.lisa.crm.model.Customer;
import org.lisa.crm.model.CustomerOrder;
import org.lisa.crm.model.DataDic;

import java.util.List;
import java.util.Map;

/**
 * Created by admin on 2018/1/15.
 */
public interface CustomerDao {
    public int queryAllCustomers();

    public List<Customer> find(Map<String,Object> map);

    public int saveSte(Customer customer);

    public int updateSte(Customer customer);

    public int delete(int id);

    public List<DataDic> queryDataDicValueByDataDicName(String dataDicName);

    public Customer get(int id);

}
